[INFO] cloning repository https://github.com/HackerJB10/assignment_2
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HackerJB10/assignment_2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHackerJB10%2Fassignment_2", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHackerJB10%2Fassignment_2'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 21c35ac02a2cc6ee3cb1875577447ae0d7b2ab96
[INFO] fixing HackerJB10/assignment_2 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHackerJB10%2Fassignment_2" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/HackerJB10/assignment_2
[INFO] finished tweaking git repo https://github.com/HackerJB10/assignment_2
[INFO] tweaked toml for git repo https://github.com/HackerJB10/assignment_2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HackerJB10/assignment_2 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/HackerJB10/assignment_2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f4d74bb4617485e8891ee982d7d98a6decbf9d036d09ce6899c004293b3da322
[INFO] running `Command { std: "docker" "start" "f4d74bb4617485e8891ee982d7d98a6decbf9d036d09ce6899c004293b3da322", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f4d74bb4617485e8891ee982d7d98a6decbf9d036d09ce6899c004293b3da322" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f4d74bb4617485e8891ee982d7d98a6decbf9d036d09ce6899c004293b3da322", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f4d74bb4617485e8891ee982d7d98a6decbf9d036d09ce6899c004293b3da322" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking assignment_2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find type `DynamicLinkedList` in this scope
[INFO] [stdout]  --> src/test.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 |         let mut list = DynamicLinkedList::new();
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^ use of undeclared type `DynamicLinkedList`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 +     use crate::DynamicLinkedList;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> src/test.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `StaticNode<T>: Copy` is not satisfied
[INFO] [stdout]    --> src/lib.rs:170:21
[INFO] [stdout]     |
[INFO] [stdout] 170 |             nodes: [StaticNode { data: None, next: None }; MAX_SIZE],
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Copy` is not implemented for `StaticNode<T>`
[INFO] [stdout]    --> src/lib.rs:156:1
[INFO] [stdout]     |
[INFO] [stdout] 156 | struct StaticNode<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the `Copy` trait is required because this value will be copied for each element of the array
[INFO] [stdout]     = help: consider using `core::array::from_fn` to initialize the array
[INFO] [stdout]     = help: see https://doc.rust-lang.org/stable/std/array/fn.from_fn.html for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `StaticNode<T>: Copy` is not satisfied
[INFO] [stdout]    --> src/lib.rs:170:21
[INFO] [stdout]     |
[INFO] [stdout] 170 |             nodes: [StaticNode { data: None, next: None }; MAX_SIZE],
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Copy` is not implemented for `StaticNode<T>`
[INFO] [stdout]    --> src/lib.rs:156:1
[INFO] [stdout]     |
[INFO] [stdout] 156 | struct StaticNode<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the `Copy` trait is required because this value will be copied for each element of the array
[INFO] [stdout]     = help: consider using `core::array::from_fn` to initialize the array
[INFO] [stdout]     = help: see https://doc.rust-lang.org/stable/std/array/fn.from_fn.html for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0506]: cannot assign to `current` because it is borrowed
[INFO] [stdout]   --> src/lib.rs:26:21
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 while let Some(next) = current.borrow().next.clone() {
[INFO] [stdout]    |                                        ----------------
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        `current` is borrowed here
[INFO] [stdout]    |                                        a temporary with access to the borrow is created here ...
[INFO] [stdout] 26 |                     current = next;
[INFO] [stdout]    |                     ^^^^^^^ `current` is assigned to here but it was already borrowed
[INFO] [stdout] 27 |                 }
[INFO] [stdout]    |                 - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Ref<'_, Node<T>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: borrow occurs due to deref coercion to `RefCell<Node<T>>`
[INFO] [stdout] note: deref defined here
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/alloc/src/rc.rs:2431:4
[INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 };
[INFO] [stdout]    |                  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0506]: cannot assign to `current` because it is borrowed
[INFO] [stdout]   --> src/lib.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |             if let Some(ref cur) = current {
[INFO] [stdout]    |                         ------- `current` is borrowed here
[INFO] [stdout] 44 |                 current = cur.borrow().next.clone();
[INFO] [stdout]    |                 ^^^^^^^   ------------             - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Ref<'_, Node<T>>`
[INFO] [stdout]    |                 |         |
[INFO] [stdout]    |                 |         a temporary with access to the borrow is created here ...
[INFO] [stdout]    |                 `current` is assigned to here but it was already borrowed
[INFO] [stdout]    |
[INFO] [stdout]    = note: borrow occurs due to deref coercion to `RefCell<Node<T>>`
[INFO] [stdout] note: deref defined here
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/alloc/src/rc.rs:2431:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0506]: cannot assign to `current` because it is borrowed
[INFO] [stdout]   --> src/lib.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 87 |             if let Some(ref cur) = current {
[INFO] [stdout]    |                         ------- `current` is borrowed here
[INFO] [stdout] 88 |                 current = cur.borrow().next.clone();
[INFO] [stdout]    |                 ^^^^^^^   ------------             - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Ref<'_, Node<T>>`
[INFO] [stdout]    |                 |         |
[INFO] [stdout]    |                 |         a temporary with access to the borrow is created here ...
[INFO] [stdout]    |                 `current` is assigned to here but it was already borrowed
[INFO] [stdout]    |
[INFO] [stdout]    = note: borrow occurs due to deref coercion to `RefCell<Node<T>>`
[INFO] [stdout] note: deref defined here
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/alloc/src/rc.rs:2431:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0506]: cannot assign to `current` because it is borrowed
[INFO] [stdout]   --> src/lib.rs:26:21
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 while let Some(next) = current.borrow().next.clone() {
[INFO] [stdout]    |                                        ----------------
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        `current` is borrowed here
[INFO] [stdout]    |                                        a temporary with access to the borrow is created here ...
[INFO] [stdout] 26 |                     current = next;
[INFO] [stdout]    |                     ^^^^^^^ `current` is assigned to here but it was already borrowed
[INFO] [stdout] 27 |                 }
[INFO] [stdout]    |                 - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Ref<'_, Node<T>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: borrow occurs due to deref coercion to `RefCell<Node<T>>`
[INFO] [stdout] note: deref defined here
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/alloc/src/rc.rs:2431:4
[INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 };
[INFO] [stdout]    |                  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0506]: cannot assign to `current` because it is borrowed
[INFO] [stdout]   --> src/lib.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |             if let Some(ref cur) = current {
[INFO] [stdout]    |                         ------- `current` is borrowed here
[INFO] [stdout] 44 |                 current = cur.borrow().next.clone();
[INFO] [stdout]    |                 ^^^^^^^   ------------             - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Ref<'_, Node<T>>`
[INFO] [stdout]    |                 |         |
[INFO] [stdout]    |                 |         a temporary with access to the borrow is created here ...
[INFO] [stdout]    |                 `current` is assigned to here but it was already borrowed
[INFO] [stdout]    |
[INFO] [stdout]    = note: borrow occurs due to deref coercion to `RefCell<Node<T>>`
[INFO] [stdout] note: deref defined here
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/alloc/src/rc.rs:2431:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0506]: cannot assign to `current` because it is borrowed
[INFO] [stdout]    --> src/lib.rs:120:17
[INFO] [stdout]     |
[INFO] [stdout] 119 |             if let Some(ref cur) = current {
[INFO] [stdout]     |                         ------- `current` is borrowed here
[INFO] [stdout] 120 |                 current = cur.borrow().next.clone();
[INFO] [stdout]     |                 ^^^^^^^   ------------             - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Ref<'_, Node<T>>`
[INFO] [stdout]     |                 |         |
[INFO] [stdout]     |                 |         a temporary with access to the borrow is created here ...
[INFO] [stdout]     |                 `current` is assigned to here but it was already borrowed
[INFO] [stdout]     |
[INFO] [stdout]     = note: borrow occurs due to deref coercion to `RefCell<Node<T>>`
[INFO] [stdout] note: deref defined here
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/alloc/src/rc.rs:2431:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0506]: cannot assign to `current` because it is borrowed
[INFO] [stdout]   --> src/lib.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 87 |             if let Some(ref cur) = current {
[INFO] [stdout]    |                         ------- `current` is borrowed here
[INFO] [stdout] 88 |                 current = cur.borrow().next.clone();
[INFO] [stdout]    |                 ^^^^^^^   ------------             - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Ref<'_, Node<T>>`
[INFO] [stdout]    |                 |         |
[INFO] [stdout]    |                 |         a temporary with access to the borrow is created here ...
[INFO] [stdout]    |                 `current` is assigned to here but it was already borrowed
[INFO] [stdout]    |
[INFO] [stdout]    = note: borrow occurs due to deref coercion to `RefCell<Node<T>>`
[INFO] [stdout] note: deref defined here
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/alloc/src/rc.rs:2431:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0506]: cannot assign to `current` because it is borrowed
[INFO] [stdout]    --> src/lib.rs:120:17
[INFO] [stdout]     |
[INFO] [stdout] 119 |             if let Some(ref cur) = current {
[INFO] [stdout]     |                         ------- `current` is borrowed here
[INFO] [stdout] 120 |                 current = cur.borrow().next.clone();
[INFO] [stdout]     |                 ^^^^^^^   ------------             - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Ref<'_, Node<T>>`
[INFO] [stdout]     |                 |         |
[INFO] [stdout]     |                 |         a temporary with access to the borrow is created here ...
[INFO] [stdout]     |                 `current` is assigned to here but it was already borrowed
[INFO] [stdout]     |
[INFO] [stdout]     = note: borrow occurs due to deref coercion to `RefCell<Node<T>>`
[INFO] [stdout] note: deref defined here
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/alloc/src/rc.rs:2431:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0506.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0506.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `assignment_2` (lib) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `assignment_2` (lib test) due to 6 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "f4d74bb4617485e8891ee982d7d98a6decbf9d036d09ce6899c004293b3da322", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4d74bb4617485e8891ee982d7d98a6decbf9d036d09ce6899c004293b3da322", kill_on_drop: false }`
[INFO] [stdout] f4d74bb4617485e8891ee982d7d98a6decbf9d036d09ce6899c004293b3da322
